Perform grep-mode's buffer modifications in a process filter (Bug#7952)
authorChong Yidong <cyd@stupidchicken.com>
Sun, 8 May 2011 05:17:17 +0000 (01:17 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 8 May 2011 05:17:17 +0000 (01:17 -0400)
commit196ea7f16d60127af1a057819185bdf02b313158
tree7fd3def5df00b948498b271558d4118fcc8ce969
parent99efe4e5104c6fdb21c96882b802a1d64adbad9a
Perform grep-mode's buffer modifications in a process filter (Bug#7952)

* progmodes/grep.el (grep-mode-font-lock-keywords): Remove
buffer-changing entries.
(grep-filter): New function.
(grep-mode): Add it to compilation-filter-hook.

* progmodes/compile.el (compilation-filter-hook)
(compilation-filter-start): New defvars.
(compilation-filter): Call compilation-filter-hook prior to
updating the process mark.
etc/NEWS
lisp/ChangeLog
lisp/progmodes/compile.el
lisp/progmodes/grep.el